home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / awe2-0_1.lha / awe2-0.1 / Src / RCS / ThreadContainer.h,v < prev    next >
Text File  |  1989-02-23  |  1KB  |  96 lines

  1. head     3.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    grunwald:3.2; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 3.2
  10. date     89.02.20.15.37.52;  author grunwald;  state Exp;
  11. branches ;
  12. next     3.1;
  13.  
  14. 3.1
  15. date     88.12.20.13.50.26;  author grunwald;  state Exp;
  16. branches ;
  17. next     1.2;
  18.  
  19. 1.2
  20. date     88.10.30.13.06.14;  author grunwald;  state Exp;
  21. branches ;
  22. next     1.1;
  23.  
  24. 1.1
  25. date     88.09.18.16.42.16;  author grunwald;  state Exp;
  26. branches ;
  27. next     ;
  28.  
  29.  
  30. desc
  31. @@
  32.  
  33.  
  34. 3.2
  35. log
  36. @Start using Gnu library heaps for schedulers
  37. @
  38. text
  39. @// This may look like C code, but it is really -*- C++ -*-
  40. // 
  41. // Copyright (C) 1988 University of Illinois, Urbana, Illinois
  42. //
  43. // written by Dirk Grunwald (grunwald@@cs.uiuc.edu)
  44. //
  45. #ifndef THREADCONTAINERH
  46. #define THREADCONTAINERH
  47.  
  48. #include "Awesime.h"
  49.  
  50. class Thread;
  51.  
  52. class ThreadContainer : public Awesime {
  53.     public :
  54.  
  55.     inline ThreadContainer(bool xdebug = 0) : (xdebug) {}
  56.  
  57.     virtual void add( Thread* );
  58.     virtual void add( double when, Thread* );
  59.     virtual void add( int when, Thread* );
  60.     virtual Thread* remove();
  61.     virtual Thread* remove(Thread* toRemove);
  62.  
  63.     virtual bool isEmpty();
  64.     virtual unsigned size();
  65.  
  66. //    virtual const char *classIsA();
  67. };
  68.  
  69. #endif THREADCONTAINERH
  70. @
  71.  
  72.  
  73. 3.1
  74. log
  75. @Steay version
  76. @
  77. text
  78. @@
  79.  
  80.  
  81. 1.2
  82. log
  83. @*** empty log message ***
  84. @
  85. text
  86. @@
  87.  
  88.  
  89. 1.1
  90. log
  91. @Initial revision
  92. @
  93. text
  94. @d1 6
  95. @
  96.